package com.xm.dao;

import com.xm.pojo.User;
import org.apache.ibatis.annotations.Delete;


public interface UserRoleDao {
    int insertUserRole(User user);

    @Delete("delete from user_roles where user_id=#{id}")
    int deleteByUserId(Integer id);
}
